package com.weijin.bookborrowmanagesystem.exception;

import com.weijin.bookborrowmanagesystem.enums.ExceptionEnum;

/**
 * @Author WeiJin
 * @Version 1.0
 * @Date 2025/3/13 15:11
 */
public class AppException extends RuntimeException {
    public AppException(String msg) {
        super(msg);
    }

    public AppException(ExceptionEnum exceptionEnum) {
        super(exceptionEnum.getMsg());
    }
}
